package com.fenghuo.model;

import net.tsz.afinal.annotation.sqlite.Id;
import net.tsz.afinal.annotation.sqlite.Table;

/**
 * HistoryView [我的足迹]  对应实体
 *
 * @author Administrator
 */
@Table(name = "History")
public class Histroy {
    @Id
    private int id;
    private String title;//标题
    private String content;//内容
    private String place;//地点
    private String url;//图片

    public Histroy(int id, String title, String content, String place,
                   String url) {
        super();
        this.id = id;
        this.title = title;
        this.content = content;
        this.place = place;
        this.url = url;
    }

    public Histroy() {
        super();
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getPlace() {
        return place;
    }

    public void setPlace(String place) {
        this.place = place;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    @Override
    public String toString() {
        return "Histroy [id=" + id + ", title=" + title + ", content="
                + content + ", place=" + place + ", url=" + url + "]";
    }


}
